package com.credithc.customers.base.ro;

import com.credithc.customers.base.utils.CustomerUtils;
import lombok.Data;

/**
 * @Title: 业务三要素变更记录
 * @Author: Denghx
 * @Date: 2018/12/3 10:48
 * @Description: com.credithc.customers.api.ro
 * @Version: V1.0.0
 */
@Data
public class BizModifyRo extends CustomerBaseRo {

    private String customerNo;

    private CustomerIdInfoRo idInfo;

    public static void checkBaseParam(BizModifyRo ro) {
        CustomerUtils.checkRequestNo(ro.getRequestNo());
        CustomerUtils.checkCustomerNo(ro.getCustomerNo());
        CustomerIdInfoRo.checkBaseParam(ro.getIdInfo());
    }

}
